﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dbPoll_Application.Models.ForgotPasswordModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Forgotten Password
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<script src="../../Scripts/jquery-1.4.1.js" type="text/javascript"></script>
<script src="../../Scripts/Account-ForgotPassword.js" type="text/javascript"></script>

<div class="pageHeadingContainer"><h2 class="pageHeading">Forgotten Password</h2></div>
<div id="contentContainer">
<p>Select from the options below to access your dbPoll account.</p>
<% Html.EnableClientValidation(); %>
<% using (Ajax.BeginForm("ForgotPassword", new AjaxOptions() { UpdateTargetId = "forgotPasswordContainer", OnSuccess = "forgotPasswordComplete", OnBegin = "forgotPasswordStart" }))
   { %>
<div id="forgotPasswordContainer">
    <% Html.RenderPartial("ForgotPasswordContainer", Model); %>
</div>
<% } %>
</div>

</asp:Content>
